$(document).ready(function() {
    $(".corner").corner(); 
    $(".corner2").corner("top");
    $("input:not(:submit,:reset), textarea").corner("4px");
   

    /* uploadify */
    $("#file_upload").uploadify({
        height        : 30,
        swf           : '/templates/default/uploadify/uploadify.swf',
        uploader      : '/templates/default/uploadify/uploadify.php',
        width         : 120,
        formData : { 'categoria' : $("#lista_categorias option:selected").attr("value"), 'jogo' : $("#lista_jogos option:selected").attr("value") },
        onUploadStart : function(file) {
            $("#file_upload").uploadify("settings", "formData", { 'categoria' : $("#lista_categorias option:selected").attr("value"), 'jogo' : $("#lista_jogos option:selected").attr("value") });
        } 
    });
    
    
});
//<![CDATA[
    CKEDITOR.replace( 'template' );
//]]>